import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {DataSourceComponent} from "./data-source.component";
import {DataSourceAddComponent} from "./data-source-add/data-source-add.component";
import {DataSourceUpdateComponent} from "./data-source-update/data-source-update.component";

const routes: Routes = [

  {
    path: "",
    component:DataSourceComponent
  },
  {
    path: "add",
    component: DataSourceAddComponent
  },
  {
    path: "update",
    component: DataSourceUpdateComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DataSourceRoutingModule { }
